﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CycleDefinitionDataSet" targetNamespace="http://www.badhabit.com/XMLSchema/2008/CycleDefinitionDataSet.xsd" xmlns:mstns="http://www.badhabit.com/XMLSchema/2008/CycleDefinitionDataSet.xsd" xmlns="http://www.badhabit.com/XMLSchema/2008/CycleDefinitionDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CycleDefinitionDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CycleDefinitionDataSet" msprop:Generator_DataSetName="CycleDefinitionDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Cycle" msprop:Generator_UserTableName="Cycle" msprop:Generator_RowDeletedName="CycleRowDeleted" msprop:Generator_RowChangedName="CycleRowChanged" msprop:Generator_RowClassName="CycleRow" msprop:Generator_RowChangingName="CycleRowChanging" msprop:Generator_RowEvArgName="CycleRowChangeEvent" msprop:Generator_RowEvHandlerName="CycleRowChangeEventHandler" msprop:Generator_TableClassName="CycleDataTable" msprop:Generator_TableVarName="tableCycle" msprop:Generator_RowDeletingName="CycleRowDeleting" msprop:Generator_TablePropName="Cycle">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CycleName" msprop:Generator_UserColumnName="CycleName" msprop:Generator_ColumnPropNameInRow="CycleName" msprop:Generator_ColumnVarNameInTable="columnCycleName" msprop:Generator_ColumnPropNameInTable="CycleNameColumn" type="xs:string" />
              <xs:element name="CycleVersion" msprop:Generator_UserColumnName="CycleVersion" msprop:Generator_ColumnPropNameInRow="CycleVersion" msprop:Generator_ColumnVarNameInTable="columnCycleVersion" msprop:Generator_ColumnPropNameInTable="CycleVersionColumn" type="xs:string" minOccurs="0" />
              <xs:element name="CycleTemplatePath" msprop:Generator_UserColumnName="CycleTemplatePath" msprop:Generator_ColumnPropNameInRow="CycleTemplatePath" msprop:Generator_ColumnVarNameInTable="columnCycleTemplatePath" msprop:Generator_ColumnPropNameInTable="CycleTemplatePathColumn" type="xs:string" minOccurs="0" />
              <xs:element name="SprintActivity" msprop:Generator_UserTableName="SprintActivity" msprop:Generator_RowDeletedName="SprintActivityRowDeleted" msprop:Generator_RowChangedName="SprintActivityRowChanged" msprop:Generator_RowClassName="SprintActivityRow" msprop:Generator_RowChangingName="SprintActivityRowChanging" msprop:Generator_RowEvArgName="SprintActivityRowChangeEvent" msprop:Generator_RowEvHandlerName="SprintActivityRowChangeEventHandler" msprop:Generator_TableClassName="SprintActivityDataTable" msprop:Generator_TableVarName="tableSprintActivity" msprop:Generator_RowDeletingName="SprintActivityRowDeleting" msprop:Generator_TablePropName="SprintActivity" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ActivityName" msprop:Generator_UserColumnName="ActivityName" msprop:Generator_ColumnPropNameInRow="ActivityName" msprop:Generator_ColumnVarNameInTable="columnActivityName" msprop:Generator_ColumnPropNameInTable="ActivityNameColumn" type="xs:string" />
                    <xs:element name="ActivityOrder" msprop:Generator_UserColumnName="ActivityOrder" msprop:Generator_ColumnPropNameInRow="ActivityOrder" msprop:Generator_ColumnVarNameInTable="columnActivityOrder" msprop:Generator_ColumnPropNameInTable="ActivityOrderColumn" type="xs:int" />
                    <xs:element name="CycleName" msprop:Generator_UserColumnName="CycleName" msprop:Generator_ColumnPropNameInRow="CycleName" msprop:Generator_ColumnVarNameInTable="columnCycleName" msprop:Generator_ColumnPropNameInTable="CycleNameColumn" type="xs:string" />
                    <xs:element name="Artifact" msprop:Generator_UserTableName="Artifact" msprop:Generator_RowDeletedName="ArtifactRowDeleted" msprop:Generator_RowChangedName="ArtifactRowChanged" msprop:Generator_RowClassName="ArtifactRow" msprop:Generator_RowChangingName="ArtifactRowChanging" msprop:Generator_RowEvArgName="ArtifactRowChangeEvent" msprop:Generator_RowEvHandlerName="ArtifactRowChangeEventHandler" msprop:Generator_TableClassName="ArtifactDataTable" msprop:Generator_TableVarName="tableArtifact" msprop:Generator_RowDeletingName="ArtifactRowDeleting" msprop:Generator_TablePropName="Artifact" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="ArtifactGroup" msprop:Generator_UserColumnName="ArtifactGroup" msprop:Generator_ColumnPropNameInRow="ArtifactGroup" msprop:Generator_ColumnVarNameInTable="columnArtifactGroup" msprop:Generator_ColumnPropNameInTable="ArtifactGroupColumn" type="xs:string" />
                          <xs:element name="ActivityName" msprop:Generator_UserColumnName="ActivityName" msprop:Generator_ColumnPropNameInRow="ActivityName" msprop:Generator_ColumnVarNameInTable="columnActivityName" msprop:Generator_ColumnPropNameInTable="ActivityNameColumn" type="xs:string" />
                          <xs:element name="CycleName" msprop:Generator_UserColumnName="CycleName" msprop:Generator_ColumnPropNameInRow="CycleName" msprop:Generator_ColumnVarNameInTable="columnCycleName" msprop:Generator_ColumnPropNameInTable="CycleNameColumn" type="xs:string" />
                          <xs:element name="StartsWithRule" msprop:Generator_UserColumnName="StartsWithRule" msprop:Generator_ColumnPropNameInRow="StartsWithRule" msprop:Generator_ColumnVarNameInTable="columnStartsWithRule" msprop:Generator_ColumnPropNameInTable="StartsWithRuleColumn" type="xs:string" minOccurs="0" />
                          <xs:element name="ExtentionRule" msprop:Generator_UserColumnName="ExtentionRule" msprop:Generator_ColumnPropNameInRow="ExtentionRule" msprop:Generator_ColumnVarNameInTable="columnExtentionRule" msprop:Generator_ColumnPropNameInTable="ExtentionRuleColumn" type="xs:string" minOccurs="0" />
                          <xs:element name="IsItemDocument" msprop:Generator_UserColumnName="IsItemDocument" msprop:Generator_ColumnVarNameInTable="columnIsItemDocument" msprop:Generator_ColumnPropNameInRow="IsItemDocument" msprop:Generator_ColumnPropNameInTable="IsItemDocumentColumn" type="xs:boolean" minOccurs="0" />
                          <xs:element name="TemplateFile" msprop:Generator_UserColumnName="TemplateFile" msprop:Generator_ColumnVarNameInTable="columnTemplateFile" msprop:Generator_ColumnPropNameInRow="TemplateFile" msprop:Generator_ColumnPropNameInTable="TemplateFileColumn" type="xs:string" minOccurs="0" />
                          <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInTable="TypeColumn" type="xs:string" minOccurs="0" />
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Artifact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Artifact" />
      <xs:field xpath="mstns:ArtifactGroup" />
    </xs:unique>
    <xs:unique name="SprintActivity_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SprintActivity" />
      <xs:field xpath="mstns:ActivityName" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Cycle" />
      <xs:field xpath="mstns:CycleName" />
    </xs:unique>
    <xs:keyref name="Cycle_SprintFase" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Cycle_SprintFase" msprop:rel_Generator_RelationVarName="relationCycle_SprintFase" msprop:rel_Generator_UserChildTable="SprintActivity" msprop:rel_Generator_UserParentTable="Cycle" msprop:rel_Generator_ParentPropName="CycleRow" msprop:rel_Generator_ChildPropName="GetSprintActivityRows">
      <xs:selector xpath=".//mstns:SprintActivity" />
      <xs:field xpath="mstns:CycleName" />
    </xs:keyref>
    <xs:keyref name="SprintFase_Artifact" refer="SprintActivity_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="SprintFase_Artifact" msprop:rel_Generator_RelationVarName="relationSprintFase_Artifact" msprop:rel_Generator_UserChildTable="Artifact" msprop:rel_Generator_UserParentTable="SprintActivity" msprop:rel_Generator_ParentPropName="SprintFaseRow" msprop:rel_Generator_ChildPropName="GetArtifactRows">
      <xs:selector xpath=".//mstns:Artifact" />
      <xs:field xpath="mstns:ActivityName" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="Cycle_Artifact" msdata:parent="Cycle" msdata:child="Artifact" msdata:parentkey="CycleName" msdata:childkey="CycleName" msprop:Generator_UserRelationName="Cycle_Artifact" msprop:Generator_RelationVarName="relationCycle_Artifact" msprop:Generator_UserChildTable="Artifact" msprop:Generator_UserParentTable="Cycle" msprop:Generator_ParentPropName="CycleRow" msprop:Generator_ChildPropName="GetArtifactRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>